package org.txazo.blog.vo;

import java.util.Date;

/**
 * 用户信息实体
 * 
 * @author Tu XiaoZhou
 * @since 2013-08-10
 * 
 */
public class MemberInfo {

	/** 用户ID */
	private int memberId;
	/** 邮箱帐号 */
	private String emailAccount;
	/** 昵称 */
	private String nickname;
	/** 性别 */
	private int sex;
	/** 注册时间 */
	private Date regTime;
	/** 最近一次登录时间 */
	private Date lastLoginTime;
	/** 最近一次修改时间 */
	private Date lastModTime;

	public MemberInfo() {
	}

	public MemberInfo(String emailAccount, String nickname, int sex,
			Date regTime, Date lastLoginTime, Date lastModTime) {
		this.emailAccount = emailAccount;
		this.nickname = nickname;
		this.sex = sex;
		this.regTime = regTime;
		this.lastLoginTime = lastLoginTime;
		this.lastModTime = lastModTime;
	}

	public int getMemberId() {
		return memberId;
	}

	public void setMemberId(int memberId) {
		this.memberId = memberId;
	}

	public String getEmailAccount() {
		return emailAccount;
	}

	public void setEmailAccount(String emailAccount) {
		this.emailAccount = emailAccount;
	}

	public String getNickname() {
		return nickname;
	}

	public void setNickname(String nickname) {
		this.nickname = nickname;
	}

	public int getSex() {
		return sex;
	}

	public void setSex(int sex) {
		this.sex = sex;
	}

	public Date getRegTime() {
		return regTime;
	}

	public void setRegTime(Date regTime) {
		this.regTime = regTime;
	}

	public Date getLastLoginTime() {
		return lastLoginTime;
	}

	public void setLastLoginTime(Date lastLoginTime) {
		this.lastLoginTime = lastLoginTime;
	}

	public Date getLastModTime() {
		return lastModTime;
	}

	public void setLastModTime(Date lastModTime) {
		this.lastModTime = lastModTime;
	}

}
